#include "beep.h"   

#include <stdbool.h>
#include "TM4C123GH6PM.h"
#include "driverlib/sysctl.h"
#include "driverlib/gpio.h"
#include "driverlib/pin_map.h"

//初始化蜂鸣器IO口
void BEEP_Init(void){
	// Enable the GPIO port
  SysCtlPeripheralEnable(BEEP_GPIOPERIPH);
	// Enable the GPIO pins 
  GPIOPinTypeGPIOOutput(BEEP_GPIO, BEEP_PIN);
	
  BEEP_DISABLE;
}


